home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re Mouse Event Handling.2 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Mouse Event Handling
  2. Sent:        3/13/96 9:51 AM
  3. Received:    3/13/96 9:01 AM
  4. From:        BikeB4Work@aol.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >OpenDoc only send MouseEnter, MouseWithin and MouseLeave events
  9. >when the mouse is up. They don't work during mouse down. To do
  10. >what I think your are trying to do you should use a FW_CTracker
  11. >object.
  12. >ODFBitmap and ODFDraw use tracker objects.
  13.  
  14. Henri,
  15.  
  16. I've looked at ODF's FW_CTracker and it appears that it will not handle
  17. tracking from one frame to another.  I am writing a part that uses multiple
  18. sequenced frames and needs to be able to tell when the mouse is within a
  19. frame, when it leaves a frame and when it enters another frame when the mouse
  20. button is down.
  21.  
  22. If FW_CTracker is the way to go, could you send me a snippet of code to
  23. demonstrate how to use it going from frame to frame?  Or, is there some way
  24. to use ODF's MouseEnter, MouseWithin and MouseLeave routines while the mouse
  25. button is down?
  26.  
  27. Your help is appreciated,
  28. Ken
  29. BikeB4Work@aol.com
  30.